package com.frejoys.common.vo.store;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class StoreCashListVo {

    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "BigDecimal", name = "money", description = "金额", required = true, defaultValue = "1")
    private BigDecimal money;

    @Schema(type = "BigDecimal", name = "cashMoney", description = "提现时，填入相同提现金额，用于扣除", required = true, defaultValue = "1")
    private BigDecimal cashMoney;

    @Schema(type = "BigDecimal", name = "cashCharges", description = "手续费", required = true, defaultValue = "1")
    private BigDecimal cashCharges;

    @Schema(type = "Long", name = "drawSn", description = "根据类型不同：1.订单编号，2.商家提现编号", required = true, defaultValue = "1")
    private Long drawSn;

    @Schema(type = "Integer", name = "type", description = "类型：1.用户下单，2.商家提现，20.超管修正数据", required = true, defaultValue = "1")
    private Integer type;

    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "1")
    private Integer createTime;

    @Schema(type = "Integer", name = "updateTime", description = "更新时间（默认填写创建时间，当为用户提现时，此时间需要根据平台设置，对应身份获取提现时间，加入此时间）", required = true, defaultValue = "1")
    private Integer updateTime;

    @Schema(type = "Integer", name = "status", description = "状态(商家提现时：0为申请，1为提现成功)：0等待，1.有效", required = true, defaultValue = "1")
    private Integer status;
}
